package com.example.gun;

import android.app.Activity;
import android.app.Service;
import android.os.Vibrator;

public class Vibrating {
	public void vibrate(final Activity activity){
		 Vibrator vib = (Vibrator) activity.getSystemService(Service.VIBRATOR_SERVICE);
		         vib.vibrate(157);
	}
}
